package com.ipfsemc.ipfsemc.mapper;

import com.ipfsemc.ipfsemc.model.Hashrate;

import java.util.Date;
import java.util.List;


public interface HashrateMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Hashrate record);

    int insertSelective(Hashrate record);

    Hashrate selectByLastTime(Date hashrateTime);

    int updateByPrimaryKeySelective(Hashrate record);

    int updateByPrimaryKey(Hashrate record);

    List<Hashrate> listHashrate(Hashrate hashrate);
}